import { Global, Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Merchant } from 'src/entities/Merchant';
import { MerchantModelService } from './merchant-model.service';

@Global()
@Module({
  imports : [
    TypeOrmModule.forFeature([Merchant])
  ],
  providers: [MerchantModelService],
  exports : [MerchantModelService]
})
export class MerchantModelModule {}
